<template>
  <n-button dashed @click="backlast"> 返回 </n-button>
</template>

<script>
import { useRouter } from "vue-router";

export default {
  setup() {
    let router = useRouter();
    const backlast = () => {
      router.go(-1);
    };
    return {
      backlast,
    };
  },
};
</script>

<style>
</style>